package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * 用户表
 */
public class User implements Serializable {
    private Integer uid;// 用户id
    private Integer mbid;// 会员id
    private Integer grid;// 会员等级
    private String mbscore;// 会员积分
    private String uname;// 用户名
    private String upwd;// 用户密码
    private String usex;// 用户性别
    private String uphone;// 手机号
    private String uemail;// 邮箱
    private String uaddress;// 用户地址
    private String uavatars;// 头像路径
    private String uidCard;// 身份证号
    private Integer ustate;// 禁用状态
    private String unickname;// 昵称

    public User(){}

    public User(Integer uid, Integer mbid, Integer grid, String mbscore, String uname, String upwd, String usex, String uphone, String uemail, String uaddress, String uavatars, String uidCard, Integer ustate, String unickname) {
        this.uid = uid;
        this.mbid = mbid;
        this.grid = grid;
        this.mbscore = mbscore;
        this.uname = uname;
        this.upwd = upwd;
        this.usex = usex;
        this.uphone = uphone;
        this.uemail = uemail;
        this.uaddress = uaddress;
        this.uavatars = uavatars;
        this.uidCard = uidCard;
        this.ustate = ustate;
        this.unickname = unickname;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getMbid() {
        return mbid;
    }

    public void setMbid(Integer mbid) {
        this.mbid = mbid;
    }

    public Integer getGrid() {
        return grid;
    }

    public void setGrid(Integer grid) {
        this.grid = grid;
    }

    public String getMbscore() {
        return mbscore;
    }

    public void setMbscore(String mbscore) {
        this.mbscore = mbscore;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUsex() {
        return usex;
    }

    public void setUsex(String usex) {
        this.usex = usex;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public String getUemail() {
        return uemail;
    }

    public void setUemail(String uemail) {
        this.uemail = uemail;
    }

    public String getUaddress() {
        return uaddress;
    }

    public void setUaddress(String uaddress) {
        this.uaddress = uaddress;
    }

    public String getUavatars() {
        return uavatars;
    }

    public void setUavatars(String uavatars) {
        this.uavatars = uavatars;
    }

    public String getUidCard() {
        return uidCard;
    }

    public void setUidCard(String uidCard) {
        this.uidCard = uidCard;
    }

    public Integer getUstate() {
        return ustate;
    }

    public void setUstate(Integer ustate) {
        this.ustate = ustate;
    }

    public String getUnickname(){return unickname;}

    public void setUnickname(String unickname){this.unickname = unickname;}

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", mbid=" + mbid +
                ", grid=" + grid +
                ", mbscore='" + mbscore + '\'' +
                ", uname='" + uname + '\'' +
                ", upwd='" + upwd + '\'' +
                ", usex='" + usex + '\'' +
                ", uphone='" + uphone + '\'' +
                ", uemail='" + uemail + '\'' +
                ", uaddress='" + uaddress + '\'' +
                ", uavatars='" + uavatars + '\'' +
                ", uidCard='" + uidCard + '\'' +
                ", ustate=" + ustate +
                ", unickname='" + unickname + '\'' +
                '}';
    }
}
